package com.ctshk.rpc.system.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @description
 * @author 谢诗宏
 * @date 2021/3/9
 */
@Data
@ApiModel(description="操作日志请求对象")
public class OperationLogReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "指定对象业务id(当指定业务id时查询指定业务操作日志,未指定则查询整个系统操作日志)")
    private Long recordId;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "操作模块")
    private String model;
    @ApiModelProperty(value = "操作类型(ADD,DELETE,UPDATE,QUERY,OTHER)")
    private String type;
    @ApiModelProperty(value = "开始时间")
    private LocalDate startTime;
    @ApiModelProperty(value = "结束时间")
    private LocalDate endTime;

}